#include <stdio.h>

struct Juxin{
        int high;
        int wide;
        int (*p)(const struct Juxin* stu);//函数指针
}; 

int mianji(const struct Juxin* group){
   return (*group).high * (*group).wide;
}

int main(int argc,char* argv[])
{   
    int high=0,wide=0;
    printf("请输入长度(m): 宽度(m): (用空格隔开)");
    scanf("%d %d",&high,&wide);
    struct Juxin p1={0,0,mianji};
    struct Juxin group={high,wide};
    printf("面积为(m2):%d\n",p1.p(&group));
    return 0;
}
